package com.onelap.bls.tc.activity.index;

import android.bluetooth.BluetoothDevice;

public class DeviceBean {
    private boolean isSelect;
    private BluetoothDevice device;
    private int rssi;
    private byte[] broadcastPacket;


    DeviceBean(boolean isSelect, BluetoothDevice device, int rssi, byte[] broadcastPacket) {
        this.isSelect = isSelect;
        this.device = device;
        this.rssi = rssi;
        this.broadcastPacket = broadcastPacket;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public BluetoothDevice getDevice() {
        return device;
    }

    public void setDevice(BluetoothDevice device) {
        this.device = device;
    }

    public int getRssi() {
        return rssi;
    }

    public void setRssi(int rssi) {
        this.rssi = rssi;
    }

    public byte[] getBroadcastPacket() {
        return broadcastPacket;
    }

    public void setBroadcastPacket(byte[] broadcastPacket) {
        this.broadcastPacket = broadcastPacket;
    }
}
